package com.example.demo;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import lombok.extern.java.Log;
import lombok.extern.slf4j.Slf4j;

@RestController
@Slf4j
public class HelloWorldController {
    @RequestMapping("/")
    
    public String index() {        
        log.info("index ...........");
        return "Hello Spring Boot 2.0!";
    }
}